﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FlowCard.PrintCard.Models
{
    /// <summary>
    /// 打印表头
    /// </summary>
    public class PrintHead
    {
        /// <summary>
        /// 项目代号
        /// </summary>
        public string? ProjectCode { get; set; }
        /// <summary>
        /// 产品代号
        /// </summary>
        public string? ProductCode { get; set; }
        /// <summary>
        /// 零件图号, 缩写为 PartDrawingNo
        /// </summary>
        public string? PartDrawingNo { get; set; }
        /// <summary>
        /// 零件名称
        /// </summary>
        public string? PartName { get; set; }
        /// <summary>
        /// 投产批次, 缩写为 ProdBatch
        /// </summary>
        public string? ProdBatch { get; set; }
        /// <summary>
        /// 投产数量
        /// </summary>
        public string? ProdQuantity { get; set; }
        /// <summary>
        /// 开工日期
        /// </summary>
        public string? StartDate { get; set; }
        /// <summary>
        /// 物料代号
        /// </summary>
        public string? MaterialCode { get; set; }
        /// <summary>
        /// 材料名称
        /// </summary>
        public string? MaterialName { get; set; }
        /// <summary>
        /// 材料批号, 缩写为 MaterialBatchNo
        /// </summary>
        public string? MaterialBatchNo { get; set; }
        /// <summary>
        /// 材料规格, 缩写为 MaterialSpec
        /// </summary>
        public string? MaterialSpec { get; set; }
        /// <summary>
        /// 可制件数, 缩写为 PartsManufacturable
        /// </summary>
        public string? PartsManufacturable { get; set; }
        /// <summary>
        ///  料品编号
        /// </summary>
        public string? MaterialItemNo { get; set; }
        /// <summary>
        /// 流程卡号
        /// </summary>
        public string? ProcessCardNo { get; set; } = string.Empty;
        /// <summary>
        /// 打印明细
        /// </summary>
        public List<PrintHeadItem>? Items { get; set; }
    }
}
